<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><title>玩转全球最大同性交友网站-开源社区GitHub | XC's Blog</title><meta name="keywords" content="GitHub"><meta name="author" content="XC's Blog"><meta name="copyright" content="XC's Blog"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="玩转全球最大同性交友网站-开源社区GitHub1. 你是否有过这样的需求? 刚接触github，被一堆菜单选项搞得头大， 不知道怎么玩 想做一个网站，发布到公网， 让所有的人都可以访问到 希望全面知晓github一个开源项目的结构，也能像其他大神一样，把github 玩转 所以，跟着学起来吧！  2. GitHub介绍你需要的前置知识：GitHub 的基本操作  GitHub 是一个面向开源及私有"><meta property="og:type" content="article"><meta property="og:title" content="玩转全球最大同性交友网站-开源社区GitHub"><meta property="og:url" content="https://webxc.eu.org/post/1676184089/index.html"><meta property="og:site_name" content="XC&#39;s Blog"><meta property="og:description" content="玩转全球最大同性交友网站-开源社区GitHub1. 你是否有过这样的需求? 刚接触github，被一堆菜单选项搞得头大， 不知道怎么玩 想做一个网站，发布到公网， 让所有的人都可以访问到 希望全面知晓github一个开源项目的结构，也能像其他大神一样，把github 玩转 所以，跟着学起来吧！  2. GitHub介绍你需要的前置知识：GitHub 的基本操作  GitHub 是一个面向开源及私有"><meta property="og:locale" content="zh_CN"><meta property="og:image" content="https://npm.elemecdn.com/webxc/cover/github.png"><meta property="article:published_time" content="2021-06-09T08:00:00.000Z"><meta property="article:modified_time" content="2023-08-30T18:00:49.033Z"><meta property="article:author" content="XC&#39;s Blog"><meta property="article:tag" content="GitHub"><meta name="twitter:card" content="summary"><meta name="twitter:image" content="https://npm.elemecdn.com/webxc/cover/github.png"><link rel="shortcut icon" href="https://npm.elemecdn.com/webxc@1.0.0/logo/logo.jpg"><link rel="canonical" href="https://webxc.eu.org/post/1676184089/"><link rel="preconnect" href="//cdn.jsdelivr.net"><link rel="preconnect" href="//busuanzi.ibruce.info"><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://npm.elemecdn.com/@fortawesome/fontawesome-free@6.2.0/css/all.min.css" media="print" onload='this.media="all"'><link rel="stylesheet" href="https://npm.elemecdn.com/node-snackbar/dist/snackbar.min.css" media="print" onload='this.media="all"'><link rel="stylesheet" href="https://npm.elemecdn.com/@fancyapps/ui/dist/fancybox.css" media="print" onload='this.media="all"'><script>const GLOBAL_CONFIG={root:"/",algolia:void 0,localSearch:{path:"/search.xml",preload:!1,languages:{hits_empty:"找不到您查询的内容：${query}"}},translate:void 0,noticeOutdate:void 0,highlight:{plugin:"highlighjs",highlightCopy:!0,highlightLang:!0,highlightHeightLimit:!1},copy:{success:"吾辈宣布,你的剪切板已被占领",error:"呀~复制失败,请在尝试下",noSupport:"对不起,你的浏览器不支持"},relativeDate:{homepage:!1,post:!1},runtime:"",date_suffix:{just:"刚刚",min:"分钟前",hour:"小时前",day:"天前",month:"个月前"},copyright:{limitCount:60,languages:{author:"作者: XC's Blog",link:"链接: ",source:"来源: XC's Blog",info:"著作权归作者所有。商业转载请联系作者获得授权，非商业转载请注明出处。"}},lightbox:"fancybox",Snackbar:{chs_to_cht:"您已切换为繁体",cht_to_chs:"您已切换为简体",day_to_night:"您已切换为深色主题",night_to_day:"您已切换为浅色主题",bgLight:"#3b70fc",bgDark:"#121212",position:"bottom-center"},source:{justifiedGallery:{js:"https://npm.elemecdn.com/flickr-justified-gallery/dist/fjGallery.min.js",css:"https://npm.elemecdn.com/flickr-justified-gallery/dist/fjGallery.css"}},isPhotoFigcaption:!1,islazyload:!0,isAnchor:!0}</script><script id="config-diff">var GLOBAL_CONFIG_SITE={title:"玩转全球最大同性交友网站-开源社区GitHub",isPost:!0,isHome:!1,isHighlightShrink:!1,isToc:!0,postUpdate:"2023-08-30 18:00:49"}</script><noscript><style>#nav{opacity:1}.justified-gallery img{opacity:1}#post-meta time,#recent-posts time{display:inline!important}</style></noscript><script>(e=>{e.saveToLocal={set:function(e,t,o){if(0===o)return;const n=864e5*o,a={value:t,expiry:(new Date).getTime()+n};localStorage.setItem(e,JSON.stringify(a))},get:function(e){const t=localStorage.getItem(e);if(!t)return;const o=JSON.parse(t);if(!((new Date).getTime()>o.expiry))return o.value;localStorage.removeItem(e)}},e.getScript=e=>new Promise(((t,o)=>{const n=document.createElement("script");n.src=e,n.async=!0,n.onerror=o,n.onload=n.onreadystatechange=function(){const e=this.readyState;e&&"loaded"!==e&&"complete"!==e||(n.onload=n.onreadystatechange=null,t())},document.head.appendChild(n)})),e.activateDarkMode=function(){document.documentElement.setAttribute("data-theme","dark"),null!==document.querySelector('meta[name="theme-color"]')&&document.querySelector('meta[name="theme-color"]').setAttribute("content","#0d0d0d")},e.activateLightMode=function(){document.documentElement.setAttribute("data-theme","light"),null!==document.querySelector('meta[name="theme-color"]')&&document.querySelector('meta[name="theme-color"]').setAttribute("content","#ffffff")};const t=saveToLocal.get("theme");"dark"===t?activateDarkMode():"light"===t&&activateLightMode();const o=saveToLocal.get("aside-status");void 0!==o&&("hide"===o?document.documentElement.classList.add("hide-aside"):document.documentElement.classList.remove("hide-aside"));/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)&&document.documentElement.classList.add("apple")})(window)</script><link rel="stylesheet" href="https://cdn1.tianli0.top/gh/web-xc/My-blog-CSS/mgi.css"><link rel="stylesheet" href="https://cdn1.tianli0.top/gh/web-xc/My-blog-CSS/mg111.css"><link rel="stylesheet" href="https://npm.elemecdn.com/webxc@1.0.16/css/mg2.css"><link rel="stylesheet" href="https://npm.elemecdn.com/webxc@1.0.11/css/styless.css"><link rel="stylesheet" href="https://npm.elemecdn.com/webxc@1.0.11/css/styles.css"><link rel="stylesheet" href="https://npm.elemecdn.com/webxc@1.0.11/css/font.css"><link rel="stylesheet" href="https://npm.elemecdn.com/webxc@1.0.15/css/font2.css"><link rel="stylesheet" href="https://npm.elemecdn.com/webxc@1.0.12/css/swiper/swiper.min.css" media="print" onload='this.media="all"'><link rel="stylesheet" href="https://npm.elemecdn.com/webxc@1.0.12/css/swiper/swiperstyle.css" media="print" onload='this.media="all"'><meta name="generator" content="Hexo 6.3.0"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="https://npm.elemecdn.com/webxc@1.0.0/logo/logo.jpg" onerror='onerror=null,src="https://npm.elemecdn.com/webxc@1.0.2/banner/404.gif"' alt="avatar"></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">95</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">25</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">25</div></a></div><hr><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw iconfont icon-shouye"></i> <span>首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw iconfont icon-shijian"></i> <span>时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw iconfont icon-biaoqian"></i> <span>标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw iconfont icon-fenlei"></i> <span>分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw iconfont icon-lianxiwomen"></i> <span>友联</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw iconfont icon-iconzhengli-"></i> <span>关于</span></a></div><div class="menus_item"><a class="site-page group hide" href="javascript:void(0);"><i class="fa-fw iconfont icon-a-wangzhanchaojilianjiehulianwang"></i> <span>推荐</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" target="_blank" rel="noopener" href="http://www.inode.club/"><i class="fa-fw fa-sharp fa-solid fa-square-rss"></i> <span>程序员指南</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="http://ife.baidu.com/"><i class="fa-fw fa-brands fa-vuejs"></i> <span>前端技术学园</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://www.yuque.com/tademanong/ag7q4n"><i class="fa-fw fa-solid fa-users"></i> <span>前端技术圈</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://www.code-nav.cn/"><i class="fa-fw fa-solid fa-shop"></i> <span>编程导航</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://q.shanyue.tech/"><i class="fa-fw fa-brands fa-square-js"></i> <span>每日一题</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://fanyouf.gitee.io/u1word/#/h5"><i class="fa-fw fa-solid fa-headphones"></i> <span>前端必会单词</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://site.51git.cn/render/gonav/4.html"><i class="fa-fw iconfont icon-wangzhandingzhi"></i> <span>网址导航</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://www.webxc.eu.org/music/"><i class="fa-fw iconfont icon-musical-note"></i> <span>音乐解锁</span></a></li></ul></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image:url('https://npm.elemecdn.com/webxc/cover/github.png')"><nav id="nav"><span id="blog_name"><div class="back-home-button" tabindex="-1"><i class="back-home-button-icon fas fa-grip-vertical"></i><div class="back-menu-list-groups"><div class="back-menu-list-group"><div class="back-menu-list-title">项目</div><div class="back-menu-list"><a class="back-menu-item" href="/" title="前往博客主页" target="_blank" one-link-mark="yes"><img class="back-menu-item-icon" src="https://npm.elemecdn.com/webxc@1.0.0/logo/logo.jpg"><span class="back-menu-item-text">主站</span></a><a class="back-menu-item" href="https://e.webxc.eu.org/" rel="external nofollow" title="前往学习笔记" target="_blank" one-link-mark="yes"><img class="back-menu-item-icon" src="https://npm.elemecdn.com/webxc@1.0.0/logo/logo.jpg"><span class="back-menu-item-text">学习笔记</span></a><a class="back-menu-item" href="https://v.webxc.eu.org/" rel="external nofollow" title="VuePress学习文档" target="_blank" one-link-mark="yes"><img class="back-menu-item-icon" src="https://npm.elemecdn.com/webxc@1.0.0/logo/logo.jpg"><span class="back-menu-item-text">VuePress文档</span></a><a class="back-menu-item" href="https://b.webxc.eu.org/" rel="external nofollow" title="旧站Hexo" target="_blank" one-link-mark="yes"><img class="back-menu-item-icon" src="https://npm.elemecdn.com/webxc@1.0.0/logo/logo.jpg"><span class="back-menu-item-text">旧站Hexo</span></a><a class="back-menu-item" href="https://gridea.webxc.eu.org/" rel="external nofollow" title="Gridea笔记" target="_blank" one-link-mark="yes"><img class="back-menu-item-icon" src="https://npm.elemecdn.com/webxc@1.0.0/logo/logo.jpg"><span class="back-menu-item-text">Gridea笔记</span></a><a class="back-menu-item" href="https://c.webxc.eu.org/" rel="external nofollow" title="魔改Hexo" target="_blank" one-link-mark="yes"><img class="back-menu-item-icon" src="https://npm.elemecdn.com/webxc@1.0.0/logo/logo.jpg"><span class="back-menu-item-text">魔改Hexo</span></a></div></div><div class="back-menu-list-group"><div class="back-menu-list-title">博客镜像</div><div class="back-menu-list"><a class="back-menu-item" href="https://blog.webxc.eu.org/" title="Vercel镜像" target="_blank" rel="noopener nofollow" one-link-mark="yes"><img class="back-menu-item-icon" src="https://npm.elemecdn.com/webxc@1.0.0/logo/logo.jpg"><span class="back-menu-item-text">Vercel镜像</span></a><a class="back-menu-item" href="https://webxc.tk/" title="Netlify镜像" target="_blank" rel="noopener nofollow" one-link-mark="yes"><img class="back-menu-item-icon" src="https://npm.elemecdn.com/webxc@1.0.0/logo/logo.jpg"><span class="back-menu-item-text">Netlify镜像</span></a><a class="back-menu-item" href="https://web-xc.gitee.io/" title="Gitee镜像" target="_blank" rel="noopener nofollow" one-link-mark="yes"><img class="back-menu-item-icon" src="https://npm.elemecdn.com/webxc@1.0.0/logo/logo.jpg"><span class="back-menu-item-text">Gitee镜像</span></a><a class="back-menu-item" href="https://cf.webxc.eu.org/" title="Cloudflare镜像" target="_blank" rel="noopener nofollow" one-link-mark="yes"><img class="back-menu-item-icon" src="https://npm.elemecdn.com/webxc@1.0.0/logo/logo.jpg"><span class="back-menu-item-text">Cloudflare镜像</span></a><a class="back-menu-item" href="https://render.webxc.eu.org/" title="Render镜像" target="_blank" rel="noopener nofollow" one-link-mark="yes"><img class="back-menu-item-icon" src="https://npm.elemecdn.com/webxc@1.0.0/logo/logo.jpg"><span class="back-menu-item-text">Render镜像</span></a></div></div></div></div><a id="site-name" href="/"><div class="title">XC's Blog</div><i class="fa-solid fa-house"></i></a></span><div class="mask-name-container"><center id="name-container"><a id="page-name" href="javascript:btf.scrollToDest(0, 500)">PAGE_NAME</a></center></div><div id="menus"><div class="nav-button" id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i> <span>搜索</span></a></div><div class="nav-button" id="darkmode_navswitch"><a class="darkmode_switchbutton" type="button" title="浅色和深色模式转换" onclick="switchDarkMode()"><i class="fas fa-adjust"></i></a></div><div class="nav-button" id="nav-totop"><a class="totopbtn"><i class="fas fa-arrow-up"></i><span id="percent" onclick="btf.scrollToDest(0,500)">0</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw iconfont icon-shouye"></i> <span>首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw iconfont icon-shijian"></i> <span>时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw iconfont icon-biaoqian"></i> <span>标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw iconfont icon-fenlei"></i> <span>分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw iconfont icon-lianxiwomen"></i> <span>友联</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw iconfont icon-iconzhengli-"></i> <span>关于</span></a></div><div class="menus_item"><a class="site-page group hide" href="javascript:void(0);"><i class="fa-fw iconfont icon-a-wangzhanchaojilianjiehulianwang"></i> <span>推荐</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" target="_blank" rel="noopener" href="http://www.inode.club/"><i class="fa-fw fa-sharp fa-solid fa-square-rss"></i> <span>程序员指南</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="http://ife.baidu.com/"><i class="fa-fw fa-brands fa-vuejs"></i> <span>前端技术学园</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://www.yuque.com/tademanong/ag7q4n"><i class="fa-fw fa-solid fa-users"></i> <span>前端技术圈</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://www.code-nav.cn/"><i class="fa-fw fa-solid fa-shop"></i> <span>编程导航</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://q.shanyue.tech/"><i class="fa-fw fa-brands fa-square-js"></i> <span>每日一题</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://fanyouf.gitee.io/u1word/#/h5"><i class="fa-fw fa-solid fa-headphones"></i> <span>前端必会单词</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://site.51git.cn/render/gonav/4.html"><i class="fa-fw iconfont icon-wangzhandingzhi"></i> <span>网址导航</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://www.webxc.eu.org/music/"><i class="fa-fw iconfont icon-musical-note"></i> <span>音乐解锁</span></a></li></ul></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">玩转全球最大同性交友网站-开源社区GitHub</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-06-09T08:00:00.000Z" title="发表于 2021-06-09 08:00:00">2021-06-09</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2023-08-30T18:00:49.033Z" title="更新于 2023-08-30 18:00:49">2023-08-30</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/GitHub/">GitHub</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span data-flag-title="玩转全球最大同性交友网站-开源社区GitHub"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="twikoo_visitors"><i class="fa-solid fa-spinner fa-spin"></i></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><h3 id="玩转全球最大同性交友网站-开源社区GitHub"><a href="#玩转全球最大同性交友网站-开源社区GitHub" class="headerlink" title="玩转全球最大同性交友网站-开源社区GitHub"></a>玩转全球最大同性交友网站-开源社区GitHub</h3><h4 id="1-你是否有过这样的需求"><a href="#1-你是否有过这样的需求" class="headerlink" title="1. 你是否有过这样的需求?"></a>1. 你是否有过这样的需求?</h4><ul><li>刚接触github，被一堆菜单选项搞得头大， 不知道怎么玩</li><li>想做一个网站，发布到公网， 让所有的人都可以访问到</li><li>希望全面知晓github一个开源项目的结构，也能像其他大神一样，把github 玩转</li><li>所以，跟着学起来吧！</li></ul><h4 id="2-GitHub介绍"><a href="#2-GitHub介绍" class="headerlink" title="2. GitHub介绍"></a>2. <a target="_blank" rel="noopener" href="https://so.csdn.net/so/search?q=GitHub&spm=1001.2101.3001.7020">GitHub</a>介绍</h4><p>你需要的前置知识：GitHub 的基本操作</p><ul><li>GitHub 是一个面向开源及私有软件项目的托管平台， 官网： <a target="_blank" rel="noopener" href="https://github.com/">https://github.com/</a></li><li>被称为 “程序员的维基百科全书”被戏称 “全球最大同性交友网站”</li><li>以 Git 为唯一的版本库格式进行托管，故名 GitHub</li><li>注意: Git是一个版本管理工具，GitHub 是一个软件项目的托管平台(社区&#x2F;网站)</li><li>GitHub 于 2008上线，除了 Git 代码仓库托管以外(界面方式)，还提供订阅、讨论组、在线文件编辑器、协作图谱、代码片段分享（Gist）等功能。</li><li>托管版本数量也是非常之多，知名开源项目 Ruby on Rails、jQuery、python 、Vue等。</li><li>2018 年 ，微软宣布，通过 75 亿美元的股票交易收购代码托管平台 GitHub</li></ul><h4 id="3-GitHub实战-创建repository发布到公网，所有人能访问"><a href="#3-GitHub实战-创建repository发布到公网，所有人能访问" class="headerlink" title="3. GitHub实战: 创建repository发布到公网，所有人能访问"></a>3. GitHub实战: 创建repository发布到公网，所有人能访问</h4><ul><li><strong>效果：网站 <a target="_blank" rel="noopener" href="https://xjsgithub.github.io/">https://xjsgithub.github.io/</a> 就会看到 好大的一只鲸鱼</strong></li></ul><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/81b3a84a2c514729b18bbadf3fafc0f2.png" alt="在这里插入图片描述"></p><h4 id="3-1-步骤1-按照规范创建一个repository，【提示使用电子邮件，先创建一个github账号】，访问github，推荐使用谷歌浏览器，-vpn，格式是-username-github-io"><a href="#3-1-步骤1-按照规范创建一个repository，【提示使用电子邮件，先创建一个github账号】，访问github，推荐使用谷歌浏览器，-vpn，格式是-username-github-io" class="headerlink" title="3.1 步骤1 : 按照规范创建一个repository，【提示使用电子邮件，先创建一个github账号】，访问github，推荐使用谷歌浏览器， vpn，格式是 username.github.io"></a>3.1 步骤1 : 按照规范创建一个repository，【提示使用电子邮件，先创建一个github账号】，访问github，推荐使用谷歌浏览器， vpn，格式是 username.github.io</h4><p><img src="" data-lazy-src="https://npm.elemecdn.com/webxc/cover/github.png" alt="在这里插入图片描述"></p><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/c64983ac28f746389a474e8af783bc6f.png" alt="在这里插入图片描述"><br><img src="" data-lazy-src="https://img-blog.csdnimg.cn/39454cf68bb24b7ea39d0de6d1fb66c1.png" alt="在这里插入图片描述"><br><img src="" data-lazy-src="https://img-blog.csdnimg.cn/1217573e71cb458c924820e5e36c6285.png#pic_center" alt="在这里插入图片描述"></p><h4 id="3-2-步骤2-下载github-desktop，并和-github账号关联"><a href="#3-2-步骤2-下载github-desktop，并和-github账号关联" class="headerlink" title="3.2 步骤2: 下载github desktop，并和 github账号关联"></a>3.2 步骤2: 下载github desktop，并和 github账号关联</h4><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/75026fc941584b74a2c7aaff94cb2a89.png" alt="在这里插入图片描述"></p><h4 id="3-3-步骤3：创建本地-repository仓库"><a href="#3-3-步骤3：创建本地-repository仓库" class="headerlink" title="3.3 步骤3：创建本地 repository仓库"></a>3.3 步骤3：创建本地 repository仓库</h4><ol><li>直接进 sign in to github.com</li><li>输入密码后，就可以登录，选择创建 repository</li></ol><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/65e427953f1f4372b629996be2224957.png" alt="在这里插入图片描述"><br><img src="" data-lazy-src="https://img-blog.csdnimg.cn/d194affb49db42bdb9bea08fc7696629.png" alt="在这里插入图片描述"></p><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/cd0cb9015ece471faa7c2b6c59767e73.png" alt="在这里插入图片描述"></p><h3 id="3-4-步骤4-选择-username-github-io-的窗口，进行clone"><a href="#3-4-步骤4-选择-username-github-io-的窗口，进行clone" class="headerlink" title="3.4 步骤4: 选择 username.github.io 的窗口，进行clone"></a>3.4 步骤4: 选择 username.github.io 的窗口，进行clone</h3><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/e1e221c9e87c42a0abae659fe606f9a3.png" alt="在这里插入图片描述"><br><img src="" data-lazy-src="https://img-blog.csdnimg.cn/2074f22b36ba459b9792f622863e8845.png" alt="在这里插入图片描述"><br><img src="" data-lazy-src="https://img-blog.csdnimg.cn/167a4f9e5e32432f9c760bb4a4416cff.png" alt="在这里插入图片描述"><br><img src="" data-lazy-src="https://img-blog.csdnimg.cn/161b0c19b2ed45f0941f731596607e74.png" alt="在这里插入图片描述"><br><img src="" data-lazy-src="https://img-blog.csdnimg.cn/4356660f7f2943449fa2fe99f8a7a1f4.png" alt="在这里插入图片描述"><br><img src="" data-lazy-src="https://img-blog.csdnimg.cn/6a7fda3f199e4088ad78f91ec3d7b40f.png" alt="在这里插入图片描述"></p><h4 id="3-5-步骤5-将本地仓库上传到-GitHub"><a href="#3-5-步骤5-将本地仓库上传到-GitHub" class="headerlink" title="3.5 步骤5: 将本地仓库上传到 GitHub"></a>3.5 步骤5: 将本地仓库上传到 GitHub</h4><ol><li>clone后，进入到项目对应的文件夹(空的)，将你的项目源码文件拷贝到这里</li><li>会看到github desktop 有新的文件，先commit到本地仓库, 然后在进行publish branch（进上传到 github.com）, 这时你会看到github.com 你的username.github.io 有源文件加入了</li></ol><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/4aeb9a40b0754a908dfbab1d931d02ec.png" alt="在这里插入图片描述"></p><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/d418b7deae3c480a9b257dd75448fc7d.png" alt="在这里插入图片描述"></p><h4 id="3-6-步骤6-访问网站-https-xjsgithub-github-io-就会看到-好大的一只鲸鱼"><a href="#3-6-步骤6-访问网站-https-xjsgithub-github-io-就会看到-好大的一只鲸鱼" class="headerlink" title="3.6 步骤6: 访问网站 https://xjsgithub.github.io/ 就会看到 好大的一只鲸鱼"></a>3.6 步骤6: 访问网站 <a target="_blank" rel="noopener" href="https://xjsgithub.github.io/">https://xjsgithub.github.io/</a> 就会看到 好大的一只鲸鱼</h4><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/9666463d41ef4197a8abf8c1cb87bc16.png" alt="在这里插入图片描述"></p><h4 id="4-申请顶级域名，并指向-https-xjsgithub-github-io"><a href="#4-申请顶级域名，并指向-https-xjsgithub-github-io" class="headerlink" title="4. 申请顶级域名，并指向 https://xjsgithub.github.io/"></a>4. 申请顶级域名，并指向 <a target="_blank" rel="noopener" href="https://xjsgithub.github.io/">https://xjsgithub.github.io/</a></h4><h4 id="4-1-在阿里云、腾讯云、-GoDaddy或者-freenom-去申请域名，指向-https-xjsgithub-github-io"><a href="#4-1-在阿里云、腾讯云、-GoDaddy或者-freenom-去申请域名，指向-https-xjsgithub-github-io" class="headerlink" title="4.1 在阿里云、腾讯云、 GoDaddy或者 freenom 去申请域名，指向 https://xjsgithub.github.io/"></a>4.1 在阿里云、腾讯云、 GoDaddy或者 freenom 去申请域名，指向 <a target="_blank" rel="noopener" href="https://xjsgithub.github.io/">https://xjsgithub.github.io/</a></h4><ul><li><a target="_blank" rel="noopener" href="https://www.aliyun.com/">https://www.aliyun.com/</a></li><li><a target="_blank" rel="noopener" href="https://cloud.tencent.com/">https://cloud.tencent.com/</a></li><li><a target="_blank" rel="noopener" href="https://sg.godaddy.com/">https://sg.godaddy.com/</a></li><li><a target="_blank" rel="noopener" href="https://www.freenom.com/">https://www.freenom.com/</a></li></ul><h4 id="4-2-在GitHub上设置你自己的域名即可"><a href="#4-2-在GitHub上设置你自己的域名即可" class="headerlink" title="4.2 在GitHub上设置你自己的域名即可"></a>4.2 在GitHub上设置你自己的域名即可</h4><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/396a924abf91453b8ed6663aab934385.png" alt="img"></p><h4 id="5-看一个实际开源项目-jQuery"><a href="#5-看一个实际开源项目-jQuery" class="headerlink" title="5. 看一个实际开源项目 jQuery"></a>5. 看一个实际开源项目 jQuery</h4><h4 id="5-1-界面-https-github-com-jquery-jquery"><a href="#5-1-界面-https-github-com-jquery-jquery" class="headerlink" title="5.1 界面 https://github.com/jquery/jquery"></a>5.1 界面 <a target="_blank" rel="noopener" href="https://github.com/jquery/jquery">https://github.com/jquery/jquery</a></h4><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/626a019a2ac3499f890a3d705978ac71.png" alt="在这里插入图片描述"></p><ul><li>github上的项目文档是 markdown编写</li><li>Watch: 关注项目变化，如被别人提交了 pull request、发起了issue等等，在你的通知中心，收到一条消息</li><li>Star: 类似微信朋友圈的点赞， 支持，让该项目更有热度.</li><li>Fork: 得到一份原项目的拷贝，如果后续原项目改变，需要自己去处理同步</li><li>Branch: 分支</li><li>Tag: 标签</li></ul><h4 id="5-2-项目不同版本比较-https-github-com-jquery-jquery-compare"><a href="#5-2-项目不同版本比较-https-github-com-jquery-jquery-compare" class="headerlink" title="5.2 项目不同版本比较 https://github.com/jquery/jquery/compare"></a>5.2 项目不同版本比较 <a target="_blank" rel="noopener" href="https://github.com/jquery/jquery/compare">https://github.com/jquery/jquery/compare</a></h4><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/b3113912f3664ea6b1885a3401ea00b3.png" alt="在这里插入图片描述"></p><ul><li><code>项目的url/compare</code> 可以对不同版本比较，如图</li><li>比如可以看到有多少个文件的变化，有多少次commit</li><li>提示：直接使用 git工具也可以进行版本比较</li></ul><h4 id="5-3-issues"><a href="#5-3-issues" class="headerlink" title="5.3 issues"></a>5.3 issues</h4><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/987cd4329dc34ed8b834e4eef085ca6c.png" alt="在这里插入图片描述"></p><ul><li>issues —- 评论&#x2F;话题，对项目提出各种讨论，比如Bug、Build 、help wanted等，有各种问题都可以提</li><li>状态 Open : 讨论中</li><li>Closed：关闭，如已经解决</li><li>issues 可以增加开发者和使用者的交流，也可以创建一个issue</li></ul><h4 id="5-4-pull-requests"><a href="#5-4-pull-requests" class="headerlink" title="5.4 pull requests"></a>5.4 pull requests</h4><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/16bc9edec7994947bafb6010590d2d77.png" alt="在这里插入图片描述"></p><ul><li>简称pr，你如果要往该项目贡献代码，你可以在Github上发起一个Pull Request</li><li>如果被审核(code review)通过并正式合并，这样你就为项目做贡献了</li></ul><h4 id="5-5-Actions"><a href="#5-5-Actions" class="headerlink" title="5.5 Actions"></a>5.5 Actions</h4><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/fbf46b8e7d9341afba5c2b14b4de02b1.png" alt="在这里插入图片描述"></p><ul><li>GitHub Action 是 GitHub 推出的一个 CI\CD 服务</li><li>CI\CD 其实是：持续集成、持续交付、持续部署</li><li>一般我们把GitHub当做代码仓库或者版本管理工具来用，有 GitHub Action 以后，能做的事情就更多，比如在 master 分支上提交了一段代码， GitHub Action 可以自动部署到指定的服务器上去，还可以把代码做成镜像，将镜像自动提交到镜像仓库里</li></ul><h4 id="5-6-Projects"><a href="#5-6-Projects" class="headerlink" title="5.6 Projects"></a>5.6 Projects</h4><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/6313b80a721e4bf6945cada170160f80.png" alt="在这里插入图片描述"></p><ul><li>GitHub 上的项目板【需要权限】</li><li>帮助组织工作和排列工作的优先级。</li><li>项目板可以灵活地创建适合需求的工作流程。</li><li>项目板包括议题、拉取请求和注释，在选择的列中分类为卡片</li><li>拖放或使用键盘快捷键对列中的卡片重新排序，在不同列之间移动卡片，以及更改列的顺序</li></ul><h4 id="5-7-Wiki"><a href="#5-7-Wiki" class="headerlink" title="5.7 Wiki"></a>5.7 Wiki</h4><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/9f6f2885328c4f97a8368c8ae9dab887.png" alt="在这里插入图片描述"></p><ul><li>维基百科（Wikipedia）</li><li>可以把项目的方方面面进行说明，支持markdown</li></ul><h4 id="5-8-insights"><a href="#5-8-insights" class="headerlink" title="5.8 insights"></a>5.8 insights</h4><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/1bdbfda0883c4664bc8564b0ac4855db.png" alt="在这里插入图片描述"></p><ul><li>项目的总体浏览相关统计信息</li><li>Contributors: 看到用户在相应日期中发送提交、添加代码、删除代码的大致数量</li><li>commits: 显示了一年收到的提交大致数量。可以判断某个仓库是否在积极更新</li><li>Code Frequency（频率）：显示了该仓库中代码行数的增加量和删除量。</li><li>Network（分支网络）: 显示包括克隆仓库在内的所有分支的提交。</li><li>Fork: 服务端的代码仓库克隆情况</li></ul><h4 id="5-9-settings"><a href="#5-9-settings" class="headerlink" title="5.9 settings"></a>5.9 settings</h4><p><img src="" data-lazy-src="https://img-blog.csdnimg.cn/b88dd4a8eb424c858a2af5af57b51f48.png" alt="在这里插入图片描述"></p><ul><li>对仓库进行任何设置。用户必须有更改权限的设置(一般是自己的repository)才看到这个页面</li><li>修改仓库名称</li><li>Features： 更改Wiki和Issue的相关设置。如果想关闭某些功能，只要取消勾选相应复选框即可。</li><li>Merge Button: 设置合并代码方式</li><li>GitHub Pages: 每个Github账户都可以开一个自己的静态网站（域名为 username.github.io)</li><li>Danger Zone: 用户可以将仓库改为私有或是变更仓库的所有者，甚至删除仓库本身。这里操作一定要谨慎</li></ul></article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">本文作者:</span> <span class="post-copyright-info"><a href="https://webxc.eu.org">XC's Blog</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">本文链接:</span> <span class="post-copyright-info"><a href="https://webxc.eu.org/post/1676184089/">https://webxc.eu.org/post/1676184089/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明:</span> <span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://webxc.eu.org" target="_blank">XC's Blog</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/GitHub/">GitHub</a></div><div class="post_share"><div class="social-share" data-image="https://npm.elemecdn.com/webxc/cover/github.png" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://npm.elemecdn.com/butterfly-extsrc/sharejs/dist/css/share.min.css" media="print" onload='this.media="all"'><script src="https://npm.elemecdn.com/butterfly-extsrc/sharejs/dist/js/social-share.min.js" defer></script></div></div><div class="post-reward"><div class="reward-button"><i class="fas fa-qrcode"></i> 打赏</div><div class="reward-main"><ul class="reward-all"><li class="reward-item"><a href="https://npm.elemecdn.com/webxc@1.0.0/lxfs/wechat.png" target="_blank"><img class="post-qr-code-img" src="https://npm.elemecdn.com/webxc@1.0.0/lxfs/wechat.png" alt="Wechat"></a><div class="post-qr-code-desc">Wechat</div></li><li class="reward-item"><a href="https://npm.elemecdn.com/webxc@1.0.0/lxfs/alipay.jpg" target="_blank"><img class="post-qr-code-img" src="https://npm.elemecdn.com/webxc@1.0.0/lxfs/alipay.jpg" alt="Alipay"></a><div class="post-qr-code-desc">Alipay</div></li></ul></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/post/821116225/"><img class="prev-cover" src="https://npm.elemecdn.com/webxc@1.0.0/cover/jquery.jpg" onerror='onerror=null,src="https://npm.elemecdn.com/webxc@1.0.2/banner/404.gif"' alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇文章</div><div class="prev_info">jQuery自动触发事件与bootstrap/jQuery插件用法</div></div></a></div><div class="next-post pull-right"><a href="/post/244150743/"><img class="next-cover" src="https://npm.elemecdn.com/webxc@1.0.0/cover/hexo1.png" onerror='onerror=null,src="https://npm.elemecdn.com/webxc@1.0.2/banner/404.gif"' alt="cover of next post"><div class="pagination-info"><div class="label">下一篇文章</div><div class="next_info">Hexo-QQ音乐排行-Netlify CMS</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><div><a href="/post/2060311811/" title="Git基础-Github自定义域名"><img class="cover" src="https://npm.elemecdn.com/webxc@1.0.0/cover/cover5.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-08-03</div><div class="title">Git基础-Github自定义域名</div></div></a></div><div><a href="/post/2060334811/" title="Git常用命令"><img class="cover" src="https://npm.elemecdn.com/webxc@1.0.1/cover/git1.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-08-04</div><div class="title">Git常用命令</div></div></a></div></div></div><hr><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i> <span>评论</span></div></div><div class="comment-wrap"><div><div id="twikoo-wrap"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="https://npm.elemecdn.com/webxc@1.0.0/logo/logo.jpg" onerror='this.onerror=null,this.src="https://npm.elemecdn.com/webxc@1.0.2/banner/404.gif"' alt="avatar"></div><div class="author-info__name">XC's Blog</div><div class="author-info__description">XC's Blog 记录生活和学习文章</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">95</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">25</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">25</div></a></div><div class="card-info-social-icons is-center"><a class="social-icon" href="https://tenapi.cn/qqzlk/?qq=2848141597" target="_blank" title="QQ"><i class="iconfont icon-QQ"></i></a><a class="social-icon" href="https://npm.elemecdn.com/webxc@1.0.0/lxfs/wechat.jpg" target="_blank" title="微信"><i class="iconfont icon-weixin"></i></a><a class="social-icon" href="https://github.com/web-xc" target="_blank" title="Github"><i class="iconfont icon-github"></i></a><a class="social-icon" href="https://space.bilibili.com/2134826455" target="_blank" title="BiliBili"><i class="iconfont icon-bilibili"></i></a><a class="social-icon" href="https://music.163.com/#/user/home?id=323682437" target="_blank" title="网易云音乐"><i class="iconfont icon-wyy"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">原网站因使用.ml域名被回收, 再加上本人因学习原因, 没怎么打理博客, 使用了https://webxc.eu.org域名来维持博客运行, 如果有加友联的朋友们, 去友联页看信息即可, 如果原来有加过的, 麻烦在原来域名后缀改一下(.ml ==> .eu.org)就行, 博客写的太乱了, 没时间打理, 兄弟们谅解😁😁~~</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%8E%A9%E8%BD%AC%E5%85%A8%E7%90%83%E6%9C%80%E5%A4%A7%E5%90%8C%E6%80%A7%E4%BA%A4%E5%8F%8B%E7%BD%91%E7%AB%99-%E5%BC%80%E6%BA%90%E7%A4%BE%E5%8C%BAGitHub"><span class="toc-number">1.</span> <span class="toc-text">玩转全球最大同性交友网站-开源社区GitHub</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#1-%E4%BD%A0%E6%98%AF%E5%90%A6%E6%9C%89%E8%BF%87%E8%BF%99%E6%A0%B7%E7%9A%84%E9%9C%80%E6%B1%82"><span class="toc-number">1.1.</span> <span class="toc-text">1. 你是否有过这样的需求?</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#2-GitHub%E4%BB%8B%E7%BB%8D"><span class="toc-number">1.2.</span> <span class="toc-text">2. GitHub介绍</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#3-GitHub%E5%AE%9E%E6%88%98-%E5%88%9B%E5%BB%BArepository%E5%8F%91%E5%B8%83%E5%88%B0%E5%85%AC%E7%BD%91%EF%BC%8C%E6%89%80%E6%9C%89%E4%BA%BA%E8%83%BD%E8%AE%BF%E9%97%AE"><span class="toc-number">1.3.</span> <span class="toc-text">3. GitHub实战: 创建repository发布到公网，所有人能访问</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#3-1-%E6%AD%A5%E9%AA%A41-%E6%8C%89%E7%85%A7%E8%A7%84%E8%8C%83%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AArepository%EF%BC%8C%E3%80%90%E6%8F%90%E7%A4%BA%E4%BD%BF%E7%94%A8%E7%94%B5%E5%AD%90%E9%82%AE%E4%BB%B6%EF%BC%8C%E5%85%88%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AAgithub%E8%B4%A6%E5%8F%B7%E3%80%91%EF%BC%8C%E8%AE%BF%E9%97%AEgithub%EF%BC%8C%E6%8E%A8%E8%8D%90%E4%BD%BF%E7%94%A8%E8%B0%B7%E6%AD%8C%E6%B5%8F%E8%A7%88%E5%99%A8%EF%BC%8C-vpn%EF%BC%8C%E6%A0%BC%E5%BC%8F%E6%98%AF-username-github-io"><span class="toc-number">1.4.</span> <span class="toc-text">3.1 步骤1 : 按照规范创建一个repository，【提示使用电子邮件，先创建一个github账号】，访问github，推荐使用谷歌浏览器， vpn，格式是 username.github.io</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#3-2-%E6%AD%A5%E9%AA%A42-%E4%B8%8B%E8%BD%BDgithub-desktop%EF%BC%8C%E5%B9%B6%E5%92%8C-github%E8%B4%A6%E5%8F%B7%E5%85%B3%E8%81%94"><span class="toc-number">1.5.</span> <span class="toc-text">3.2 步骤2: 下载github desktop，并和 github账号关联</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#3-3-%E6%AD%A5%E9%AA%A43%EF%BC%9A%E5%88%9B%E5%BB%BA%E6%9C%AC%E5%9C%B0-repository%E4%BB%93%E5%BA%93"><span class="toc-number">1.6.</span> <span class="toc-text">3.3 步骤3：创建本地 repository仓库</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#3-4-%E6%AD%A5%E9%AA%A44-%E9%80%89%E6%8B%A9-username-github-io-%E7%9A%84%E7%AA%97%E5%8F%A3%EF%BC%8C%E8%BF%9B%E8%A1%8Cclone"><span class="toc-number">2.</span> <span class="toc-text">3.4 步骤4: 选择 username.github.io 的窗口，进行clone</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#3-5-%E6%AD%A5%E9%AA%A45-%E5%B0%86%E6%9C%AC%E5%9C%B0%E4%BB%93%E5%BA%93%E4%B8%8A%E4%BC%A0%E5%88%B0-GitHub"><span class="toc-number">2.1.</span> <span class="toc-text">3.5 步骤5: 将本地仓库上传到 GitHub</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#3-6-%E6%AD%A5%E9%AA%A46-%E8%AE%BF%E9%97%AE%E7%BD%91%E7%AB%99-https-xjsgithub-github-io-%E5%B0%B1%E4%BC%9A%E7%9C%8B%E5%88%B0-%E5%A5%BD%E5%A4%A7%E7%9A%84%E4%B8%80%E5%8F%AA%E9%B2%B8%E9%B1%BC"><span class="toc-number">2.2.</span> <span class="toc-text">3.6 步骤6: 访问网站 https:&#x2F;&#x2F;xjsgithub.github.io&#x2F; 就会看到 好大的一只鲸鱼</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#4-%E7%94%B3%E8%AF%B7%E9%A1%B6%E7%BA%A7%E5%9F%9F%E5%90%8D%EF%BC%8C%E5%B9%B6%E6%8C%87%E5%90%91-https-xjsgithub-github-io"><span class="toc-number">2.3.</span> <span class="toc-text">4. 申请顶级域名，并指向 https:&#x2F;&#x2F;xjsgithub.github.io&#x2F;</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#4-1-%E5%9C%A8%E9%98%BF%E9%87%8C%E4%BA%91%E3%80%81%E8%85%BE%E8%AE%AF%E4%BA%91%E3%80%81-GoDaddy%E6%88%96%E8%80%85-freenom-%E5%8E%BB%E7%94%B3%E8%AF%B7%E5%9F%9F%E5%90%8D%EF%BC%8C%E6%8C%87%E5%90%91-https-xjsgithub-github-io"><span class="toc-number">2.4.</span> <span class="toc-text">4.1 在阿里云、腾讯云、 GoDaddy或者 freenom 去申请域名，指向 https:&#x2F;&#x2F;xjsgithub.github.io&#x2F;</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#4-2-%E5%9C%A8GitHub%E4%B8%8A%E8%AE%BE%E7%BD%AE%E4%BD%A0%E8%87%AA%E5%B7%B1%E7%9A%84%E5%9F%9F%E5%90%8D%E5%8D%B3%E5%8F%AF"><span class="toc-number">2.5.</span> <span class="toc-text">4.2 在GitHub上设置你自己的域名即可</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#5-%E7%9C%8B%E4%B8%80%E4%B8%AA%E5%AE%9E%E9%99%85%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE-jQuery"><span class="toc-number">2.6.</span> <span class="toc-text">5. 看一个实际开源项目 jQuery</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#5-1-%E7%95%8C%E9%9D%A2-https-github-com-jquery-jquery"><span class="toc-number">2.7.</span> <span class="toc-text">5.1 界面 https:&#x2F;&#x2F;github.com&#x2F;jquery&#x2F;jquery</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#5-2-%E9%A1%B9%E7%9B%AE%E4%B8%8D%E5%90%8C%E7%89%88%E6%9C%AC%E6%AF%94%E8%BE%83-https-github-com-jquery-jquery-compare"><span class="toc-number">2.8.</span> <span class="toc-text">5.2 项目不同版本比较 https:&#x2F;&#x2F;github.com&#x2F;jquery&#x2F;jquery&#x2F;compare</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#5-3-issues"><span class="toc-number">2.9.</span> <span class="toc-text">5.3 issues</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#5-4-pull-requests"><span class="toc-number">2.10.</span> <span class="toc-text">5.4 pull requests</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#5-5-Actions"><span class="toc-number">2.11.</span> <span class="toc-text">5.5 Actions</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#5-6-Projects"><span class="toc-number">2.12.</span> <span class="toc-text">5.6 Projects</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#5-7-Wiki"><span class="toc-number">2.13.</span> <span class="toc-text">5.7 Wiki</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#5-8-insights"><span class="toc-number">2.14.</span> <span class="toc-text">5.8 insights</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#5-9-settings"><span class="toc-number">2.15.</span> <span class="toc-text">5.9 settings</span></a></li></ol></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/post/ds2s/" title="整个前端面试题"><img src="https://cdn1.tianli0.top/gh/web-xc/iMG/postss/vue.png" onerror='this.onerror=null,this.src="https://npm.elemecdn.com/webxc@1.0.2/banner/404.gif"' alt="整个前端面试题"></a><div class="content"><a class="title" href="/post/ds2s/" title="整个前端面试题">整个前端面试题</a><time datetime="2023-08-31T02:00:00.000Z" title="发表于 2023-08-31 02:00:00">2023-08-31</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/post/ds23/" title="常见前端面试题"><img src="https://cdn1.tianli0.top/gh/web-xc/iMG/postss/vue.png" onerror='this.onerror=null,this.src="https://npm.elemecdn.com/webxc@1.0.2/banner/404.gif"' alt="常见前端面试题"></a><div class="content"><a class="title" href="/post/ds23/" title="常见前端面试题">常见前端面试题</a><time datetime="2023-08-28T18:30:00.000Z" title="发表于 2023-08-28 18:30:00">2023-08-28</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/post/fe33/" title="硅谷甄选运营平台"><img src="https://cdn1.tianli0.top/gh/web-xc/iMG/postss/vue.png" onerror='this.onerror=null,this.src="https://npm.elemecdn.com/webxc@1.0.2/banner/404.gif"' alt="硅谷甄选运营平台"></a><div class="content"><a class="title" href="/post/fe33/" title="硅谷甄选运营平台">硅谷甄选运营平台</a><time datetime="2023-07-26T03:55:00.000Z" title="发表于 2023-07-26 03:55:00">2023-07-26</time></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2021 - 2023 By XC's Blog</div><div class="framework-info"><span></span> <a target="_blank" rel="noopener" href="https://icp.gov.moe/?keyword=20235221">萌ICP备20235221号</a><span class="footer-separator">|</span><span></span> <a target="_blank" rel="noopener" href="https://icp.gov.moe/">萌ICP查询</a><div id="running-time"></div></div><script>setInterval((()=>{let e=Math.round(new Date("2021-11-21 01:35:06").getTime()/1e3),t=Math.round(((new Date).getTime()+288e5)/1e3)-e,n=new Array(0,0,0,0,0);t>=31536e3&&(n[0]=parseInt(t/31536e3),t%=31536e3),t>=86400&&(n[1]=parseInt(t/86400),t%=86400),t>=3600&&(n[2]=parseInt(t/3600),t%=3600),t>=60&&(n[3]=parseInt(t/60),t%=60),t>0&&(n[4]=t),currentTimeHtml="本站已安全运行 "+n[0]+" 年 "+n[1]+" 天 "+n[2]+" 时 "+n[3]+" 分 "+n[4]+" 秒",document.getElementById("running-time").innerHTML=currentTimeHtml}),1e3)</script></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i><span id="percent">0<span>%</span></span></button><button id="go-down" type="button" title="直达底部" onclick="btf.scrollToDest(document.body.scrollHeight,500)"><i class="fas fa-arrow-down"></i></button></div></div><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i> <span>正在载入文件,请稍后</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"></div></div><hr><div id="local-search-results"></div></div></div><div id="search-mask"></div></div><div><script src="https://npm.elemecdn.com/hexo-theme-butterfly/source/js/utils.js"></script><script src="https://npm.elemecdn.com/hexo-theme-butterfly@4.4.0/source/js/main.js"></script><script src="https://npm.elemecdn.com/@fancyapps/ui/dist/fancybox.umd.js"></script><script src="https://npm.elemecdn.com/instant.page/instantpage.js" type="module"></script><script src="https://npm.elemecdn.com/vanilla-lazyload/dist/lazyload.iife.min.js"></script><script src="https://npm.elemecdn.com/node-snackbar/dist/snackbar.min.js"></script><script src="https://npm.elemecdn.com/hexo-theme-butterfly/source/js/search/local-search.js"></script><div class="js-pjax"><script>(()=>{const e=document.querySelectorAll("#article-container .mermaid-wrap");if(e.length){window.runMermaid=()=>{window.loadMermaid=!0;const t="dark"===document.documentElement.getAttribute("data-theme")?"dark":"default";Array.from(e).forEach(((e,n)=>{const d=e.firstElementChild,r="mermaid-"+n,m="%%{init:{ 'theme':'"+t+"'}}%%\n"+d.textContent;mermaid.mermaidAPI.render(r,m,(e=>{d.insertAdjacentHTML("afterend",e)}))}))};const t=()=>{window.loadMermaid?runMermaid():getScript("https://npm.elemecdn.com/mermaid/dist/mermaid.min.js").then(runMermaid)};window.pjax?t():document.addEventListener("DOMContentLoaded",t)}})()</script><script>(()=>{const o=()=>{twikoo.init(Object.assign({el:"#twikoo-wrap",envId:"https://blog2.webxc.eu.org/",region:"",onCommentLoaded:function(){btf.loadLightbox(document.querySelectorAll("#twikoo .tk-content img:not(.tk-owo-emotion)"))}},null))},t=()=>{"object"!=typeof twikoo?getScript("https://npm.elemecdn.com/twikoo@1.6.16/dist/twikoo.all.min.js").then(o):setTimeout(o,0)};t()})()</script></div><script data-pjax="false" defer src="https://npm.elemecdn.com/webxc@1.0.16/css/style.js"></script><script defer src="https://npm.elemecdn.com/hexo-theme-butterfly@4.4.0/source/js/search/local-search.js"></scrip><script src="https://npm.elemecdn.com/butterfly-extsrc/dist/activate-power-mode.min.js"></script><script>POWERMODE.colorful=!0,POWERMODE.shake=!0,POWERMODE.mobile=!0,document.body.addEventListener("input",POWERMODE)</script><script src="https://npm.elemecdn.com/pjax@0.2.8/pjax.min.js"></script><script>let pjaxSelectors=["head > title","#config-diff","#body-wrap","#rightside-config-hide","#rightside-config-show",".js-pjax",".tk-comments-container"];var pjax=new Pjax({elements:'a:not([target="_blank"])',selectors:pjaxSelectors,cacheBust:!1,analytics:!1,scrollRestoration:!1});document.addEventListener("pjax:send",(function(){if(window.tocScrollFn&&window.removeEventListener("scroll",window.tocScrollFn),window.scrollCollect&&window.removeEventListener("scroll",scrollCollect),"object"==typeof preloader&&preloader.initLoading(),document.getElementById("rightside").style.cssText="opacity: ''; transform: ''",window.aplayers)for(let e=0;e<window.aplayers.length;e++)window.aplayers[e].options.fixed||window.aplayers[e].destroy();"object"==typeof typed&&typed.destroy();const e=document.body.classList;e.contains("read-mode")&&e.remove("read-mode"),"object"==typeof disqusjs&&disqusjs.destroy()})),document.addEventListener("pjax:complete",(function(){window.refreshFn(),document.querySelectorAll("script[data-pjax]").forEach((e=>{const t=document.createElement("script"),o=e.text||e.textContent||e.innerHTML||"";Array.from(e.attributes).forEach((e=>t.setAttribute(e.name,e.value))),t.appendChild(document.createTextNode(o)),e.parentNode.replaceChild(t,e)})),GLOBAL_CONFIG.islazyload&&window.lazyLoadInstance.update(),"function"==typeof chatBtnFn&&chatBtnFn(),"function"==typeof panguInit&&panguInit(),"function"==typeof gtag&&gtag("config","",{page_path:window.location.pathname}),"object"==typeof _hmt&&_hmt.push(["_trackPageview",window.location.pathname]),"function"==typeof loadMeting&&document.getElementsByClassName("aplayer").length&&loadMeting(),"object"==typeof Prism&&Prism.highlightAll(),"object"==typeof preloader&&preloader.endLoading()})),document.addEventListener("pjax:error",(e=>{404===e.request.status&&pjax.loadUrl("/404.html")}))</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div><script data-pjax>function butterfly_swiper_injector_config(){var s=document.getElementById("recent-posts");console.log("已挂载butterfly_swiper"),s.insertAdjacentHTML("afterbegin",'<div class="recent-post-item" style="height: auto;width: 100%"><div class="blog-slider swiper-container-fade swiper-container-horizontal" id="swiper_container"><div class="blog-slider__wrp swiper-wrapper" style="transition-duration: 0ms;"><div class="blog-slider__item swiper-slide" style="background:url(https://cdn1.tianli0.top/gh/web-xc/iMG/postss/vue.png);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-08-31</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/ds2s/&quot;);" href="javascript:void(0);" alt="">整个前端面试题</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://cdn1.tianli0.top/gh/web-xc/iMG/postss/vue.png);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-08-28</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/ds23/&quot;);" href="javascript:void(0);" alt="">常见前端面试题</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://cdn1.tianli0.top/gh/web-xc/iMG/postss/vue.png);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-07-26</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/fe33/&quot;);" href="javascript:void(0);" alt="">硅谷甄选运营平台</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://cdn1.tianli0.top/gh/web-xc/iMG/postss/vue.png);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-07-17</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/ew32/&quot;);" href="javascript:void(0);" alt="">Vue第三天</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://cdn1.tianli0.top/gh/web-xc/iMG/postss/vue.png);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-07-16</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/aw92/&quot;);" href="javascript:void(0);" alt="">Vue第二天</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://cdn1.tianli0.top/gh/web-xc/iMG/postss/vue.png);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-07-14</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/ou67/&quot;);" href="javascript:void(0);" alt="">Vue第一天</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://cdn1.tianli0.top/gh/web-xc/iMG/postss/vue.png);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-07-05</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/fn32/&quot;);" href="javascript:void(0);" alt="">Vue框架笔记</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://npm.elemecdn.com/webxc/cover/js1.webp);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-06-21</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/fe11/&quot;);" href="javascript:void(0);" alt="">Vue前置JS功底</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://cdn1.tianli0.top/gh/web-xc/iMG/postss/promise.webp);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-06-11</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/pr67/&quot;);" href="javascript:void(0);" alt="">ES6-Promise语法与原理</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://cdn1.tianli0.top/gh/web-xc/iMG/postss/ajax.webp);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-06-08</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/or01/&quot;);" href="javascript:void(0);" alt="">Ajax第四天</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://cdn1.tianli0.top/gh/web-xc/iMG/postss/ajax.webp);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-06-07</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/fs67/&quot;);" href="javascript:void(0);" alt="">Ajax第三天</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://npm.elemecdn.com/webxc/cover/js1.webp);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-05-11</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/fe66/&quot;);" href="javascript:void(0);" alt="">JS进阶第四天</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://npm.elemecdn.com/webxc/cover/js1.webp);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-05-10</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/fe99/&quot;);" href="javascript:void(0);" alt="">JS进阶第三天</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://npm.elemecdn.com/webxc/cover/js1.webp);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-05-05</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/us87/&quot;);" href="javascript:void(0);" alt="">JS进阶第二天</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://npm.elemecdn.com/webxc@1.0.12/cover/cover15.jpg);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2022-10-31</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/2db5/&quot;);" href="javascript:void(0);" alt="">移动开发-Flex布局</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://npm.elemecdn.com/webxc@1.0.12/cover/cover16.jpg);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2022-11-14</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/1c7e/&quot;);" href="javascript:void(0);" alt="">移动开发-媒体查询</a><div class="blog-slider__text">点击查看</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://npm.elemecdn.com/webxc@1.0.12/cover/cover17.jpg);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2022-11-17</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;post/7fc/&quot;);" href="javascript:void(0);" alt="">移动开发-响应式</a><div class="blog-slider__text">点击查看</div></div></div></div><div class="blog-slider__pagination swiper-pagination-clickable swiper-pagination-bullets"></div><div class="swiper-button-prev"></div><div class="swiper-button-next"></div></div></div>')}for(var elist="null".split(","),cpage=location.pathname,epage="all",flag=0,i=0;i<elist.length;i++)cpage.includes(elist[i])&&flag++;("all"===epage&&0==flag||epage===cpage)&&butterfly_swiper_injector_config()</script><script defer src="https://npm.elemecdn.com/webxc@1.0.12/css/swiper/swiper.min.js"></script><script defer data-pjax src="https://npm.elemecdn.com/webxc@1.0.12/css/swiper/swiper_init.js"></script></body></html>